package com.woniu40.petai_user.mapper;

import com.woniu40.petai_user.entity.Hospital;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HospitalMapper {
    int deleteByPrimaryKey(Integer hospitalId);

    int insert(Hospital record);

    Hospital selectByPrimaryKey(Integer hospitalId);

    List<Hospital> selectAll();

    int updateByPrimaryKey(Hospital record);

    List<Hospital> selectByName(@Param("name") String name);

}